INPUT & OUTPUT: This short program reviews user input, a way that the user can impact a prewritten program!

  • Click Run to see the example program run on the stage.
  • Look at lines 9 and 10 in the code editor. The user enters a color, which controls output by setting the face color!
  • In this lesson, we will experiment with user input and output.
  • Click Submit and Next to move on. Do this at the end of every activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)